﻿using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;

namespace Leon.UI
{
    public class HorizontialScrollViewUIDrag : MonoBehaviour
    {
        [SerializeField]
        ScrollView view;
        // Start is called before the first frame update
        void Start()
        {
            var data = Enumerable.Range(0, 15).Select(a => new UserItem($"{a}")).ToArray();


            view.UpdateData(data);
        }

        // Update is called once per frame
        void Update()
        {

        }
    }
}